package _11_整理题目._8_多线程;

public class _01_等待其他线程执行完_ABA_2_ {

    static class Thread1 implements Runnable {
        @Override
        public void run() {
            try {
                Thread.sleep(3000);
            } catch (Exception e) {
                e.printStackTrace();
            }
            System.out.println("aa");
        }
    }

    public static void main(String[] args) throws Exception {
        System.out.println("start");

        Thread th = new Thread(new Thread1());
        th.start();
        th.join();

        System.out.println("over");
    }

}
